From 3e88440351604a0fb340b253f56f947bc8de64a9 Mon Sep 17 00:00:00 2001 From: Brad Jorsch Date: Mon, 27 Oct 2014 12:51:29 -0400 Subject: [PATCH] API: Standardize usage of "ID" in docs Change-Id: I6c0571ceb836d35159964ead4abef09113230a68 --- includes/api/i18n/en.json | 48 +++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/includes/api/i18n/en.json b/includes/api/i18n/en.json index 82a2c91f11..2bec759f56 100644 --- a/includes/api/i18n/en.json +++ b/includes/api/i18n/en.json @@ -324,10 +324,10 @@ "apihelp-query+allfileusages-param-to": "The title of the file to stop enumerating at.", "apihelp-query+allfileusages-param-prefix": "Search for all file titles that begin with this value.", "apihelp-query+allfileusages-param-unique": "Only show distinct file titles. Cannot be used with $1prop=ids.\nWhen used as a generator, yields target pages instead of source pages.", - "apihelp-query+allfileusages-param-prop": "Which pieces of information to include:\n;ids:Adds the pageid of the using page (cannot be used with $1unique).\n;title:Adds the title of the file.", + "apihelp-query+allfileusages-param-prop": "Which pieces of information to include:\n;ids:Adds the page ID of the using page (cannot be used with $1unique).\n;title:Adds the title of the file.", "apihelp-query+allfileusages-param-limit": "How many total items to return.", "apihelp-query+allfileusages-param-dir": "The direction in which to list.", - "apihelp-query+allfileusages-example-B": "List file titles, including missing ones, with page ids they are from, starting at B", + "apihelp-query+allfileusages-example-B": "List file titles, including missing ones, with page IDs they are from, starting at B", "apihelp-query+allfileusages-example-unique": "List unique file titles", "apihelp-query+allfileusages-example-unique-generator": "Gets all file titles, marking the missing ones", "apihelp-query+allfileusages-example-generator": "Gets pages containing the files", @@ -358,11 +358,11 @@ "apihelp-query+alllinks-param-to": "The title of the link to stop enumerating at.", "apihelp-query+alllinks-param-prefix": "Search for all linked titles that begin with this value.", "apihelp-query+alllinks-param-unique": "Only show distinct linked titles. Cannot be used with $1prop=ids.\nWhen used as a generator, yields target pages instead of source pages.", - "apihelp-query+alllinks-param-prop": "Which pieces of information to include:\n;ids:Adds the pageid of the linking page (cannot be used with $1unique).\n;title:Adds the title of the link.", + "apihelp-query+alllinks-param-prop": "Which pieces of information to include:\n;ids:Adds the page ID of the linking page (cannot be used with $1unique).\n;title:Adds the title of the link.", "apihelp-query+alllinks-param-namespace": "The namespace to enumerate.", "apihelp-query+alllinks-param-limit": "How many total items to return.", "apihelp-query+alllinks-param-dir": "The direction in which to list.", - "apihelp-query+alllinks-example-B": "List linked titles, including missing ones, with page ids they are from, starting at B", + "apihelp-query+alllinks-example-B": "List linked titles, including missing ones, with page IDs they are from, starting at B", "apihelp-query+alllinks-example-unique": "List unique linked titles", "apihelp-query+alllinks-example-unique-generator": "Gets all linked titles, marking the missing ones", "apihelp-query+alllinks-example-generator": "Gets pages containing the links", @@ -408,11 +408,11 @@ "apihelp-query+allredirects-param-to": "The title of the redirect to stop enumerating at.", "apihelp-query+allredirects-param-prefix": "Search for all target pages that begin with this value.", "apihelp-query+allredirects-param-unique": "Only show distinct target pages. Cannot be used with $1prop=ids|fragment|interwiki.\nWhen used as a generator, yields target pages instead of source pages.", - "apihelp-query+allredirects-param-prop": "Which pieces of information to include:\n;ids:Adds the pageid of the redirecting page (cannot be used with $1unique).\n;title:Adds the title of the redirect.\n;fragment:Adds the fragment from the redirect, if any (cannot be used with $1unique).\n;interwiki:Adds the interwiki prefix from the redirect, if any (cannot be used with $1unique).", + "apihelp-query+allredirects-param-prop": "Which pieces of information to include:\n;ids:Adds the page ID of the redirecting page (cannot be used with $1unique).\n;title:Adds the title of the redirect.\n;fragment:Adds the fragment from the redirect, if any (cannot be used with $1unique).\n;interwiki:Adds the interwiki prefix from the redirect, if any (cannot be used with $1unique).", "apihelp-query+allredirects-param-namespace": "The namespace to enumerate.", "apihelp-query+allredirects-param-limit": "How many total items to return.", "apihelp-query+allredirects-param-dir": "The direction in which to list.", - "apihelp-query+allredirects-example-B": "List target pages, including missing ones, with page ids they are from, starting at B", + "apihelp-query+allredirects-example-B": "List target pages, including missing ones, with page IDs they are from, starting at B", "apihelp-query+allredirects-example-unique": "List unique target pages", "apihelp-query+allredirects-example-unique-generator": "Gets all target pages, marking the missing ones", "apihelp-query+allredirects-example-generator": "Gets pages containing the redirects", @@ -422,11 +422,11 @@ "apihelp-query+alltransclusions-param-to": "The title of the transclusion to stop enumerating at.", "apihelp-query+alltransclusions-param-prefix": "Search for all transcluded titles that begin with this value.", "apihelp-query+alltransclusions-param-unique": "Only show distinct transcluded titles. Cannot be used with $1prop=ids.\nWhen used as a generator, yields target pages instead of source pages.", - "apihelp-query+alltransclusions-param-prop": "Which pieces of information to include:\n;ids:Adds the pageid of the transcluding page (cannot be used with $1unique).\n;title:Adds the title of the transclusion.", + "apihelp-query+alltransclusions-param-prop": "Which pieces of information to include:\n;ids:Adds the page ID of the transcluding page (cannot be used with $1unique).\n;title:Adds the title of the transclusion.", "apihelp-query+alltransclusions-param-namespace": "The namespace to enumerate.", "apihelp-query+alltransclusions-param-limit": "How many total items to return.", "apihelp-query+alltransclusions-param-dir": "The direction in which to list.", - "apihelp-query+alltransclusions-example-B": "List transcluded titles, including missing ones, with page ids they are from, starting at B", + "apihelp-query+alltransclusions-example-B": "List transcluded titles, including missing ones, with page IDs they are from, starting at B", "apihelp-query+alltransclusions-example-unique": "List unique transcluded titles", "apihelp-query+alltransclusions-example-unique-generator": "Gets all transcluded titles, marking the missing ones", "apihelp-query+alltransclusions-example-generator": "Gets pages containing the transclusions", @@ -447,7 +447,7 @@ "apihelp-query+backlinks-description": "Find all pages that link to the given page.", "apihelp-query+backlinks-param-title": "Title to search. Cannot be used together with $1pageid.", - "apihelp-query+backlinks-param-pageid": "Pageid to search. Cannot be used together with $1title.", + "apihelp-query+backlinks-param-pageid": "Page ID to search. Cannot be used together with $1title.", "apihelp-query+backlinks-param-namespace": "The namespace to enumerate.", "apihelp-query+backlinks-param-dir": "The direction in which to list.", "apihelp-query+backlinks-param-filterredir": "How to filter for redirects. If set to nonredirects when $1redirect is enabled, this is only applied to the second level.", @@ -538,7 +538,7 @@ "apihelp-query+embeddedin-description": "Find all pages that embed (transclude) the given title.", "apihelp-query+embeddedin-param-title": "Title to search. Cannot be used together with $1pageid.", - "apihelp-query+embeddedin-param-pageid": "Pageid to search. Cannot be used together with $1title.", + "apihelp-query+embeddedin-param-pageid": "Page ID to search. Cannot be used together with $1title.", "apihelp-query+embeddedin-param-namespace": "The namespace to enumerate.", "apihelp-query+embeddedin-param-dir": "The direction in which to list.", "apihelp-query+embeddedin-param-filterredir": "How to filter for redirects.", @@ -578,7 +578,7 @@ "apihelp-query+filerepoinfo-example-simple": "Get information about file repositories", "apihelp-query+fileusage-description": "Find all pages that use the given files.", - "apihelp-query+fileusage-param-prop": "Which properties to get:\n;pageid:Page id of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", + "apihelp-query+fileusage-param-prop": "Which properties to get:\n;pageid:Page ID of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", "apihelp-query+fileusage-param-namespace": "Only include pages in these namespaces.", "apihelp-query+fileusage-param-limit": "How many to return.", "apihelp-query+fileusage-param-show": "Show only items that meet these criteria:\n;redirect:Only show redirects.\n;!redirects:Only show non-redirects.", @@ -610,7 +610,7 @@ "apihelp-query+imageusage-description": "Find all pages that use the given image title.", "apihelp-query+imageusage-param-title": "Title to search. Cannot be used together with $1pageid.", - "apihelp-query+imageusage-param-pageid": "Pageid to search. Cannot be used together with $1title.", + "apihelp-query+imageusage-param-pageid": "Page ID to search. Cannot be used together with $1title.", "apihelp-query+imageusage-param-namespace": "The namespace to enumerate.", "apihelp-query+imageusage-param-dir": "The direction in which to list.", "apihelp-query+imageusage-param-filterredir": "How to filter for redirects. If set to nonredirects when $1redirect is enabled, this is only applied to the second level.", @@ -672,7 +672,7 @@ "apihelp-query+links-example-namespaces": "Get links from the [[Main Page]] in the User and Template namespaces", "apihelp-query+linkshere-description": "Find all pages that link to the given pages.", - "apihelp-query+linkshere-param-prop": "Which properties to get:\n;pageid:Page id of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", + "apihelp-query+linkshere-param-prop": "Which properties to get:\n;pageid:Page ID of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", "apihelp-query+linkshere-param-namespace": "Only include pages in these namespaces.", "apihelp-query+linkshere-param-limit": "How many to return.", "apihelp-query+linkshere-param-show": "Show only items that meet these criteria:\n;redirect:Only show redirects.\n;!redirects:Only show non-redirects.", @@ -721,7 +721,7 @@ "apihelp-query+protectedtitles-param-limit": "How many total pages to return.", "apihelp-query+protectedtitles-param-start": "Start listing at this protection timestamp.", "apihelp-query+protectedtitles-param-end": "Stop listing at this protection timestamp.", - "apihelp-query+protectedtitles-param-prop": "Which properties to get:\n;timestamp:Adds the timestamp of when protection was added.\n;user:Adds the user that added the protection.\n;userid:Adds the user id that added the protection.\n;comment:Adds the comment for the protection.\n;parsedcomment:Adds the parsed comment for the protection.\n;expiry:Adds the timestamp of when the protection will be lifted.\n;level:Adds the protection level.", + "apihelp-query+protectedtitles-param-prop": "Which properties to get:\n;timestamp:Adds the timestamp of when protection was added.\n;user:Adds the user that added the protection.\n;userid:Adds the user ID that added the protection.\n;comment:Adds the comment for the protection.\n;parsedcomment:Adds the parsed comment for the protection.\n;expiry:Adds the timestamp of when the protection will be lifted.\n;level:Adds the protection level.", "apihelp-query+protectedtitles-example-simple": "List protected titles", "apihelp-query+protectedtitles-example-generator": "Find links to protected titles in the main namespace", @@ -744,7 +744,7 @@ "apihelp-query+recentchanges-param-user": "Only list changes by this user.", "apihelp-query+recentchanges-param-excludeuser": "Don't list changes by this user.", "apihelp-query+recentchanges-param-tag": "Only list changes tagged with this tag.", - "apihelp-query+recentchanges-param-prop": "Include additional pieces of information:\n;user:Adds the user responsible for the edit and tags if they are an IP.\n;userid:Adds the user id responsible for the edit.\n;comment:Adds the comment for the edit.\n;parsedcomment:Adds the parsed comment for the edit.\n;flags:Adds flags for the edit.\n;timestamp:Adds timestamp of the edit.\n;title:Adds the page title of the edit.\n;ids:Adds the page ID, recent changes ID and the new and old revision ID.\n;sizes:Adds the new and old page length in bytes.\n;redirect:Tags edit if page is a redirect.\n;patrolled:Tags patrollable edits as being patrolled or unpatrolled.\n;loginfo:Adds log information (logid, logtype, etc) to log entries.\n;tags:Lists tags for the entry.\n;sha1:Adds the content checksum for entries associated with a revision.", + "apihelp-query+recentchanges-param-prop": "Include additional pieces of information:\n;user:Adds the user responsible for the edit and tags if they are an IP.\n;userid:Adds the user ID responsible for the edit.\n;comment:Adds the comment for the edit.\n;parsedcomment:Adds the parsed comment for the edit.\n;flags:Adds flags for the edit.\n;timestamp:Adds timestamp of the edit.\n;title:Adds the page title of the edit.\n;ids:Adds the page ID, recent changes ID and the new and old revision ID.\n;sizes:Adds the new and old page length in bytes.\n;redirect:Tags edit if page is a redirect.\n;patrolled:Tags patrollable edits as being patrolled or unpatrolled.\n;loginfo:Adds log information (log ID, log type, etc) to log entries.\n;tags:Lists tags for the entry.\n;sha1:Adds the content checksum for entries associated with a revision.", "apihelp-query+recentchanges-param-token": "Use [[Special:ApiHelp/query+tokens|action=query&meta=tokens]] instead.", "apihelp-query+recentchanges-param-show": "Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set $1show=minor|!anon.", "apihelp-query+recentchanges-param-limit": "How many total changes to return.", @@ -754,7 +754,7 @@ "apihelp-query+recentchanges-example-generator": "Get page info about recent unpatrolled changes", "apihelp-query+redirects-description": "Returns all redirects to the given pages.", - "apihelp-query+redirects-param-prop": "Which properties to get:\n;pageid:Page id of each redirect.\n;title:Title of each redirect.\n;fragment:Fragment of each redirect, if any.", + "apihelp-query+redirects-param-prop": "Which properties to get:\n;pageid:Page ID of each redirect.\n;title:Title of each redirect.\n;fragment:Fragment of each redirect, if any.", "apihelp-query+redirects-param-namespace": "Only include pages in these namespaces.", "apihelp-query+redirects-param-limit": "How many redirects to return.", "apihelp-query+redirects-param-show": "Show only items that meet these criteria:\n;fragment:Only show redirects with a fragment.\n;!fragment:Only show redirects without a fragment.", @@ -763,10 +763,10 @@ "apihelp-query+revisions-description": "Get revision information.\n\nMay be used in several ways:\n# Get data about a set of pages (last revision), by setting titles or pageids.\n# Get revisions for one given page, by using titles or pageids with start, end, or limit.\n# Get data about a set of revisions by setting their IDs with revids.", "apihelp-query+revisions-paraminfo-singlepageonly": "May only be used with a single page (mode #2).", - "apihelp-query+revisions-param-prop": "Which properties to get for each revision:\n;ids:The ID of the revision.\n;flags:Revision flags (minor).\n;timestamp:The timestamp of the revision.\n;user:User that made the revision.\n;userid:User id of revision creator.\n;size:Length (bytes) of the revision.\n;sha1:SHA-1 (base 16) of the revision.\n;contentmodel:Content model id.\n;comment:Comment by the user for revision.\n;parsedcomment:Parsed comment by the user for the revision.\n;content:Text of the revision.\n;tags:Tags for the revision.", + "apihelp-query+revisions-param-prop": "Which properties to get for each revision:\n;ids:The ID of the revision.\n;flags:Revision flags (minor).\n;timestamp:The timestamp of the revision.\n;user:User that made the revision.\n;userid:User ID of revision creator.\n;size:Length (bytes) of the revision.\n;sha1:SHA-1 (base 16) of the revision.\n;contentmodel:Content model ID.\n;comment:Comment by the user for revision.\n;parsedcomment:Parsed comment by the user for the revision.\n;content:Text of the revision.\n;tags:Tags for the revision.", "apihelp-query+revisions-param-limit": "Limit how many revisions will be returned.", - "apihelp-query+revisions-param-startid": "From which revision id to start enumeration.", - "apihelp-query+revisions-param-endid": "Stop revision enumeration on this revid.", + "apihelp-query+revisions-param-startid": "From which revision ID to start enumeration.", + "apihelp-query+revisions-param-endid": "Stop revision enumeration on this revision ID.", "apihelp-query+revisions-param-start": "From which revision timestamp to start enumeration.", "apihelp-query+revisions-param-end": "Enumerate up to this timestamp.", "apihelp-query+revisions-param-user": "Only include revisions made by user.", @@ -837,7 +837,7 @@ "apihelp-query+tokens-example-types": "Retrieve a watch token and a patrol token", "apihelp-query+transcludedin-description": "Find all pages that transclude the given pages.", - "apihelp-query+transcludedin-param-prop": "Which properties to get:\n;pageid:Page id of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", + "apihelp-query+transcludedin-param-prop": "Which properties to get:\n;pageid:Page ID of each page.\n;title:Title of each page.\n;redirect:Flag if the page is a redirect.", "apihelp-query+transcludedin-param-namespace": "Only include pages in these namespaces.", "apihelp-query+transcludedin-param-limit": "How many to return.", "apihelp-query+transcludedin-param-show": "Show only items that meet these criteria:\n;redirect:Only show redirects.\n;!redirects:Only show non-redirects.", @@ -877,7 +877,7 @@ "apihelp-query+watchlist-param-user": "Only list changes by this user.", "apihelp-query+watchlist-param-excludeuser": "Don't list changes by this user.", "apihelp-query+watchlist-param-limit": "How many total results to return per request.", - "apihelp-query+watchlist-param-prop": "Which additional items to get:\n;ids:Adds revision ids and page ids.\n;title:Adds title of the page.\n;flags:Adds flags for the edit.\n;user:Adds the user who made the edit.\n;userid:Adds user id of whom made the edit.\n;comment:Adds comment of the edit.\n;parsedcomment:Adds parsed comment of the edit.\n;timestamp:Adds timestamp of the edit.\n;patrol:Tags edits that are patrolled.\n;sizes:Adds the old and new lengths of the page.\n;notificationtimestamp:Adds timestamp of when the user was last notified about the edit.\n;loginfo:Adds log information where appropriate.", + "apihelp-query+watchlist-param-prop": "Which additional items to get:\n;ids:Adds revision IDs and page IDs.\n;title:Adds title of the page.\n;flags:Adds flags for the edit.\n;user:Adds the user who made the edit.\n;userid:Adds user ID of whom made the edit.\n;comment:Adds comment of the edit.\n;parsedcomment:Adds parsed comment of the edit.\n;timestamp:Adds timestamp of the edit.\n;patrol:Tags edits that are patrolled.\n;sizes:Adds the old and new lengths of the page.\n;notificationtimestamp:Adds timestamp of when the user was last notified about the edit.\n;loginfo:Adds log information where appropriate.", "apihelp-query+watchlist-param-show": "Show only items that meet these criteria. For example, to see only minor edits done by logged-in users, set $1show=minor|!anon.", "apihelp-query+watchlist-param-type": "Which types of changes to show:\n;edit:Regular page edits.\n;external:External changes.\n;new:Page creations.\n;log:Log entries.", "apihelp-query+watchlist-param-owner": "Used along with $1token to access a different user's watchlist.", @@ -945,7 +945,7 @@ "apihelp-unblock-example-id": "Unblock block ID #105", "apihelp-unblock-example-user": "Unblock user Bob with reason \"Sorry Bob\"", - "apihelp-undelete-description": "Restore revisions of a deleted page.\n\nA list of deleted revisions (including timestamps) can be retrieved through [[Special:ApiHelp/query+deletedrevs|list=deletedrevs]], and a list of deleted file ids can be retrieved through [[Special:ApiHelp/query+filearchive|list=filearchive]].", + "apihelp-undelete-description": "Restore revisions of a deleted page.\n\nA list of deleted revisions (including timestamps) can be retrieved through [[Special:ApiHelp/query+deletedrevs|list=deletedrevs]], and a list of deleted file IDs can be retrieved through [[Special:ApiHelp/query+filearchive|list=filearchive]].", "apihelp-undelete-param-title": "Title of the page to restore.", "apihelp-undelete-param-reason": "Reason for restoring.", "apihelp-undelete-param-timestamps": "Timestamps of the revisions to restore. If both $1timestamps and $1fileids are empty, all will be restored.", @@ -979,12 +979,12 @@ "apihelp-userrights-description": "Change a user's group membership.", "apihelp-userrights-param-user": "User name.", - "apihelp-userrights-param-userid": "User id.", + "apihelp-userrights-param-userid": "User ID.", "apihelp-userrights-param-add": "Add the user to these groups.", "apihelp-userrights-param-remove": "Remove the user from these groups.", "apihelp-userrights-param-reason": "Reason for the change.", "apihelp-userrights-example-user": "Add user FooBot to group \"bot\", and remove from groups \"sysop\" and \"bureaucrat\"", - "apihelp-userrights-example-userid": "Add the user with id 123 to group \"bot\", and remove from groups \"sysop\" and \"bureaucrat\"", + "apihelp-userrights-example-userid": "Add the user with ID 123 to group \"bot\", and remove from groups \"sysop\" and \"bureaucrat\"", "apihelp-watch-description": "Add or remove pages from the current user's watchlist.", "apihelp-watch-param-title": "The page to (un)watch. Use $1titles instead.", -- 2.20.1